package com.vhall.component.entity.rbac.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author jingwen.li
 * @date 2022/3/7
 */
@Data
public class ChangeStatusReqVO implements Serializable {

    private static final long serialVersionUID = 2454340219440375750L;

    @NotNull(message = "menu_id不能为空")
    @ApiModelProperty(value = "菜单ID")
    @JsonProperty("menu_id")
    @ParamName("menu_id")
    private Integer menuId;

    @NotNull(message = "status不能为空")
    @ApiModelProperty(value = "状态：1-正常，2-禁用，-1 - 删除")
    @JsonProperty("status")
    @ParamName("status")
    private Byte status;
}
